package com.ruoyi.carbon.service;

import com.ruoyi.carbon.domain.Wuliao;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

@Service
public class TestService {

    public String test() {
        return "测试成功";
    }

    public static void main(String[] args) {
        // System.out.println(Math.ceil(10.0000000));

        List<Wuliao> wuliaos = new ArrayList<>();

        List<Wuliao> wuliaoList = new ArrayList<>();
        wuliaoList.add(new Wuliao());
        List<Wuliao> wuliaoList2 = new ArrayList<>();
        wuliaoList.add(new Wuliao());

        wuliaos.addAll(wuliaoList);
        wuliaos.addAll(wuliaoList2);

        System.out.println(wuliaos);
    }
}
